from django import forms


class AddTeacher(forms.Form):
    name = forms.CharField(max_length=64, label="请输入姓名")
    gender = forms.ChoiceField(label="性别", choices=((0, "女"), (1, "男")), widget=forms.RadioSelect())
    experience = forms.FloatField(label="工作年限")
    info = forms.CharField(label="请输入自我介绍", widget=forms.Textarea())